<h1>List of Users for Event: <%= @event.name %></h1>

<% if @users.blank? %>
	<p>There are not any users currently signed up for this event.</p>
<% else %>
	<p>These are the current users signed up for this event:</p>
	<ul id="books">
	<% @users.each do |u| %>
		<li><%= link_to u.name, {:action => 'show', :id => u.id} -%></li>
	<% end %>
	</ul>
<% end %>

<p><%= link_to "Add new User", {:action => 'new' }%></p>
